//
//  FIUIUtility.h
//  Magpie
//
//  Created by 100TV protocal on 12-11-15.
//
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface FIUIUtility : NSObject

@end
/*
 弹出UIAlertView*
 */
extern void alert(NSString* msg);
/*
 弹出UIAlertView ,如果点了 btnTitle1，执行[target action];
 */
extern void alert2(NSString* msg, NSString* btnTitle1, NSString* btnTitle2, id target, SEL action);
/*
 弹出UIAlertView ,如果点了 btnTitle2！！执行[target action];
 */
extern void alert3(NSString* msg, NSString* btnTitle1, NSString* btnTitle2, id target, SEL action);


@interface UIView(addbord_extension)
/*
 添加左边框，用subview 实现
 */
//-(void) addLeftBorderWidth:(float) awidth;
//-(void) addLeftBorderWidth:(float) awidth color:(UIColor*) acolor;
-(void) addBottomBorderWidth:(float) awidth;
-(void) addBottomBorderWidth:(float) awidth color:(UIColor*) acolor;

-(void) addRightBorderWidth:(float) awidth;
-(void) addRightBorderWidth:(float) awidth color:(UIColor*) acolor;

-(void) addRightBorderWidth:(float) awidth;
-(void) addRightBorderWidth:(float) awidth color:(UIColor*) acolor;
-(void) addBorderWidth:(float) awidth color:(UIColor*) acolor cornerRadius:(float) acornerRadius;
-(void) addBorderWidth:(float) awidth;
-(void) addBorderWidth:(float) awidth cornerRadius:(float) acornerRadius;
@end

#define orientationIsLandscape  ( UIInterfaceOrientationIsLandscape([[UIApplication sharedApplication] statusBarOrientation]))


@interface UIImage(iPhone5extension)

@end









